package com.zhuoshi.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhuoshi.IDao.Wd_purposeModelMapper;
import com.zhuoshi.bean.Wd_purposeModel;
import com.zhuoshi.service.Wd_purposeModelService;
@Service
public class Wd_purposeModelServiceImpl implements Wd_purposeModelService {
	@Autowired
	Wd_purposeModelMapper wd_purposeModelMapper ;
	public int deleteByPrimaryKey(String purposeId) {
		// TODO Auto-generated method stub
		return wd_purposeModelMapper.deleteByPrimaryKey(purposeId);
	}

	public int insert(Wd_purposeModel record) {
		// TODO Auto-generated method stub
		return wd_purposeModelMapper.insert(record);
	}

	public int insertSelective(Wd_purposeModel record) {
		// TODO Auto-generated method stub
		return wd_purposeModelMapper.insertSelective(record);
	}

	public Wd_purposeModel selectByPrimaryKey(String purposeId) {
		// TODO Auto-generated method stub
		return wd_purposeModelMapper.selectByPrimaryKey(purposeId);
	}

	public int updateByPrimaryKeySelective(Wd_purposeModel record) {
		// TODO Auto-generated method stub
		return wd_purposeModelMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(Wd_purposeModel record) {
		// TODO Auto-generated method stub
		return wd_purposeModelMapper.updateByPrimaryKey(record);
	}

	public List<Wd_purposeModel> selectAll(Wd_purposeModel record) {
		// TODO Auto-generated method stub
		return wd_purposeModelMapper.selectAll(record);
	}

}
